SaveAnimation
does not save all the frames in the batch modeIn the interactive mode, SaveAnimation
works. However,
in the batch mode, SaveAnimation
saves only 10 frames
because the default mode is the Sequence mode. This mode defaults to 10
frames, and interpolates time at 10 evenly spaced increments between the
start and end time of your sequence. The correct fix is to set
animScene = GetAnimationScene()
animScene.PlayMode’=‘Snap To TimeSteps’
before calling SaveAnimation()
.
Specify the FontScaling
parameter.
SaveScreenshot(fig_fpath, renderView1, ImageResolution=[1504, 754], FontScaling='Do not scale fonts')
Modules installed by pip
not found by
pvpython
.
import sys
sys.path.append('/home/jcshi/Softwares/Python/lib/python3.8/site-packages')
from tqdm import tqdm